<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.selectWidth2{
   width:205px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="6">基本信息
		</td>
		</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required maxlength:100"  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>项目实施地点：</td>
		<td  colspan="2">
			<input name="proposal/address" label="项目实施地点" type="text" required class="input_css required "   maxlength="100" value="<x:out select="$xmlData/data/proposal/address" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>指南代码：</td>
		<td  colspan="2">
			<input name="proposal/guide_code" label="指南代码" type="text"  class="input_css required "   maxlength="100" value="<x:out select="$xmlData/data/proposal/guide_code" />"/> 
		</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>项目研发类型：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="research_type" label="基础研究" value="01" /><span style="vertical-align: middle;">基础研究</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="research_type" label="应用研究" value="02" /><span style="vertical-align: middle;">应用研究</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="research_type" label="成果转化" value="03" /><span style="vertical-align: middle;">成果转化</span></label>
    <label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="research_type" label="其他" value="04" /><span style="vertical-align: middle;">其他</span></label>
    <input type="hidden" name="proposal/research_type_value" id="research_type_value" class="required" value="<x:out select="$xmlData/data/proposal/research_type_value" />" label="项目研发类型" /> 
	<input type="hidden" name="proposal/research_type_name" id="research_type_name" value="<x:out select="$xmlData/data/proposal/research_type_name" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>外方合作机构类别：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="foreign" label="高校" value="01" /><span style="vertical-align: middle;">高校</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="foreign" label="研究机构" value="02" /><span style="vertical-align: middle;">研究机构</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="foreign" label="企业" value="03" /><span style="vertical-align: middle;">企业</span></label>
    <label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="foreign" label="其他" value="04" /><span style="vertical-align: middle;">其他</span></label>
    <input type="hidden" name="proposal/foreign_value" id="foreign_value" class="required" value="<x:out select="$xmlData/data/proposal/foreign_value" />" label="外方合作机构类别" /> 
	<input type="hidden" name="proposal/foreign_name" id="foreign_name" value="<x:out select="$xmlData/data/proposal/foreign_name" />" /></td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>协议名称：</td>
		<td  colspan="5">
			<input  name="proposal/treaty_cname" label="协议名称" type="text" required class="input_css required "  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/treaty_cname" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>所属协议：</td>
		<td nowrap  colspan="2" valign="middle">
		<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="treaty" label="政府间协议" value="01" /><span style="vertical-align: middle;">政府间协议</span></label> 
		<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="treaty" label="其他" value="02" /><span style="vertical-align: middle;">其他</span></label> 
	    <input type="hidden" name="proposal/treaty_value" id="treaty_value" class="required" value="<x:out select="$xmlData/data/proposal/treaty_value" />" label="所属协议" /> 
		<input type="hidden" name="proposal/treaty_name" id="treaty_name" value="<x:out select="$xmlData/data/proposal/treaty_name" />" /></td>
	    <td  align="right"><span class="color_red">*</span>合作国家或地区名称：</td>
		<td  colspan="2">
			<input name="proposal/cooperation_country" label="合作国家或地区名称" type="text" required class="input_css required "   maxlength="100" value="<x:out select="$xmlData/data/proposal/cooperation_country" />"/> 
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>协议签署时间：</td>
	<td colspan="2">
		<c:set var="treaty_date"><x:out select="$xmlData/data/proposal/treaty_date" /></c:set>
		<cpt:date id="treaty_date" name="proposal/treaty_date" value="${treaty_date}" className="required date" label="协议签署时间" ></cpt:date> 
	</td>
	<td  align="right" nowrap><span class="color_red">*</span>协议有效期：</td>
	<td colspan="2">
		<c:set var="treaty_start_date"><x:out select="$xmlData/data/proposal/treaty_start_date" /></c:set>
		<cpt:date id="treaty_start_date" name="proposal/treaty_start_date" value="${treaty_start_date}" className="required date  dateCompare:treaty_end_date" label="协议有效期开始时间" ></cpt:date>至
		<c:set var="treaty_end_date"><x:out select="$xmlData/data/proposal/treaty_end_date" /></c:set>
		<cpt:date id="treaty_end_date" name="proposal/treaty_end_date" className="required date" label="协议有效期结束时间"  value="${treaty_end_date}" ></cpt:date> 
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>合作目标：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="checkbox" class="do " id="advant_01" style="vertical-align: middle;" name="cooperation" label="解决关键技术瓶颈问题" value="01" /><span style="vertical-align: middle;">解决关键技术瓶颈问题</span></label> 
	<label> <input type="checkbox" class="do " id="advant_02" style="vertical-align: middle;" name="cooperation" label="填补国内技术空白" value="02" /><span style="vertical-align: middle;">填补国内技术空白</span></label> 
	<label> <input type="checkbox" class="do " id="advant_03" style="vertical-align: middle;" name="cooperation" label="引进国际优秀人才" value="03" /><span style="vertical-align: middle;">引进国际优秀人才</span></label>
    <label> <input type="checkbox" class="do " id="advant_04" style="vertical-align: middle;" name="cooperation" label="引进具有重大应用前景的前沿技术" value="04" /><span style="vertical-align: middle;">引进具有重大应用前景的前沿技术</span></label>
    <label> <input type="checkbox" class="do " id="advant_05" style="vertical-align: middle;" name="cooperation" label="引进关键技术、装备" value="05" /><span style="vertical-align: middle;">引进关键技术、装备</span></label>
    <label> <input type="checkbox" class="do " id="advant_06" style="vertical-align: middle;" name="cooperation" label="其他" value="06" /><span style="vertical-align: middle;">其他</span></label>
    <input type="hidden" name="proposal/cooperation_value" id="cooperation_value" class="required" value="<x:out select="$xmlData/data/proposal/cooperation_value" />" label="合作目标" /> 
	<input type="hidden" name="proposal/cooperation_name" id="cooperation_name" value="<x:out select="$xmlData/data/proposal/cooperation_name" />" /></td>
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>合作方式：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="checkbox" class="do " id="advant_01" style="vertical-align: middle;" name="way" label="引进技术" value="01" /><span style="vertical-align: middle;">引进技术</span></label> 
	<label> <input type="checkbox" class="do " id="advant_02" style="vertical-align: middle;" name="way" label="引进装备" value="02" /><span style="vertical-align: middle;">引进装备</span></label> 
	<label> <input type="checkbox" class="do " id="advant_03" style="vertical-align: middle;" name="way" label="分工合作研发" value="03" /><span style="vertical-align: middle;">分工合作研发</span></label>
    <label> <input type="checkbox" class="do " id="advant_04" style="vertical-align: middle;" name="way" label="引进专家来锡工作" value="04" /><span style="vertical-align: middle;">引进专家来锡工作</span></label>
    <label> <input type="checkbox" class="do " id="advant_05" style="vertical-align: middle;" name="way" label="利用海外资源" value="05" /><span style="vertical-align: middle;">利用海外资源</span></label>
    <label> <input type="checkbox" class="do " id="advant_06" style="vertical-align: middle;" name="way" label="其他" value="06" /><span style="vertical-align: middle;">其他</span></label>
    <input type="hidden" name="proposal/way_value" id="way_value" class="required" value="<x:out select="$xmlData/data/proposal/way_value" />" label="合作方式" /> 
	<input type="hidden" name="proposal/way_name" id="way_name" value="<x:out select="$xmlData/data/proposal/way_name" />" /></td>
	</tr>
	
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>合作依托技术成熟度：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="maturity" label="研发阶段" value="01" /><span style="vertical-align: middle;">研发阶段</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="maturity" label="样品样机阶段" value="02" /><span style="vertical-align: middle;">样品样机阶段</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="maturity" label="小试阶段" value="03" /><span style="vertical-align: middle;">小试阶段</span></label>
    <label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="maturity" label="中试阶段" value="04" /><span style="vertical-align: middle;">中试阶段</span></label>
    <label> <input type="radio" class="do " id="advant_05" style="vertical-align: middle;" name="maturity" label="产业化阶段" value="05" /><span style="vertical-align: middle;">产业化阶段</span></label>
    <input type="hidden" name="proposal/maturity_value" id="maturity_value" class="required" value="<x:out select="$xmlData/data/proposal/maturity_value" />" label="合作依托技术成熟度" /> 
	<input type="hidden" name="proposal/maturity_name" id="maturity_name" value="<x:out select="$xmlData/data/proposal/maturity_name" />" /></td>
	</tr>
	
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>项目开始时间：</td>
	<td colspan="2">
		<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
		<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date  dateCompare:end_date" label="项目开始时间" ></cpt:date> 
	</td>
	<td  align="right" nowrap><span class="color_red">*</span>项目结束时间：</td>
	<td colspan="2">
		<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
		<cpt:date id="end_date" name="proposal/end_date" className="required date" label="项目结束时间"  value="${end_date}" ></cpt:date> 
	</td>
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>所属技术领域：</td>
		<td  colspan="5">
			<c:set var="technology"><x:out select="$xmlData/data/proposal/technology_value" /></c:set>
			<label><input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="电子与信息" value="01" /><span style="vertical-align: middle;">电子与信息</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="新型材料" value="03" /><span style="vertical-align: middle;">新型材料</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="生物技术与新医药" value="02" /><span style="vertical-align: middle;">生物技术与新医药</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="光机电一体化" value="04" /><span style="vertical-align: middle;">光机电一体化</span></label>&nbsp;&nbsp;&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="地球、空间及海洋工程" value="09" /><span style="vertical-align: middle;">地球、空间及海洋工程</span></label>&nbsp;&nbsp;
			<br/>
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="核技术应用" value="10" /><span style="vertical-align: middle;">核技术应用</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="航空航天" value="07" /><span style="vertical-align: middle;">航空航天</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="新能源与高效节能" value="05" /><span style="vertical-align: middle;">新能源与高效节能</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="环境与资源利用" value="06" /><span style="vertical-align: middle;">环境与资源利用</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="现代交通" value="08" /><span style="vertical-align: middle;">现代交通</span></label>&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="其他" value="11" /><span style="vertical-align: middle;">其他</span></label>&nbsp;&nbsp;
			<input type="hidden" id="technology_value" name="proposal/technology_value" class="required" value="${technology}" label="所属技术领域">
			<input type="hidden" name="proposal/technology_name" value="<x:out select="$xmlData/data/proposal/technology_name" />">
		</td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>项目所属产业：</td>
		<td  colspan="5">
		<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set> 
		<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox> 
		<input type="hidden" id="industry_value" name="proposal/industry_value"
			class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name"
			value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>项目推介类别：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="referrals" label="科技外交官" value="01" /><span style="vertical-align: middle;">科技外交官</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="referrals" label="市级以上国际技术转移中心" value="03" /><span style="vertical-align: middle;">市级以上国际技术转移中心</span></label>
    <label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="referrals" label="市海外人才工作站" value="04" /><span style="vertical-align: middle;">市海外人才工作站</span></label>
    <label> <input type="radio" class="do " id="advant_05" style="vertical-align: middle;" name="referrals" label="国际交流活动" value="05" /><span style="vertical-align: middle;">国际交流活动</span></label>
    <label> <input type="radio" class="do " id="advant_06" style="vertical-align: middle;" name="referrals" label="其他" value="06" /><span style="vertical-align: middle;">其他</span></label>
    <input type="hidden" name="proposal/referrals_value" id="referrals_value" class="required" value="<x:out select="$xmlData/data/proposal/referrals_value" />" label="项目推介类别" /> 
	<input type="hidden" name="proposal/referrals_name" id="referrals_name" value="<x:out select="$xmlData/data/proposal/referrals_name" />" /></td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申请日期：</td>
		<td colspan="5">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申请日期"></cpt:date> 
		</td>
	</tr>
	<tr>
		<td class="t_bar2" colspan="6">申报项目资金情况（金额单位：万元）</td>
	</tr>
	<tr>
	<td   align="right" nowrap>项目计划投资总额：</td>
	<td  colspan="2">
	<input  name="proposal/xmjhtzze" id="xmjhtzze" label="项目计划投资总额" type="text"  class="input_css  gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/xmjhtzze" />"/> 
	</td>
	<td   align="right" nowrap>其中：已完成投资：</td>
	<td  colspan="2">
	<input  name="proposal/ywctz" id="ywctz" class="gray " disabled label="其中：已完成投资" type="text" required class="input_css " style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/ywctz" />"/> 
	</td>
	</tr>
	<tr>
	<td   align="right" nowrap>计划新增投资：</td>
	<td  colspan="2">
	<input  name="proposal/jhxztz" id="jhxztz" label="计划新增投资" type="text"  class="input_css  gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/jhxztz" />"/> 
	</td>
	<td   align="right" nowrap>申请金额：</td>
	<td  colspan="2">
	<input  name="proposal/sqje" id="sqje" class="gray " disabled label="申请金额" type="text"  class="input_css " style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	</td>
	</tr>
	<tr>
		<td  align="right"  nowrap>项目类别：</td>
		<td colspan="5"><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
	</tr>
	<tr>
	<td  align="right">支持方式：</td>
		<td  colspan="2">
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
		<td  align="right">资金级次：</td>
		<td colspan="2">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  colspan="2"><span name="proposal/org_name">无锡市科学技术局</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="2">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	<tr>
	<td colspan="6" class="t_bar2">申请资助依据条款
	</tr>
	 <tr>
		<td colspan="6">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" >
<tr><td class="t_bar2" colspan="5">合作外方机构信息</td></tr>
	<tr>
		<td align="right"><span class="color_red">*</span>机构名称（中英文）：</td>
		<td  colspan="4">
			<input name="proposal/organ_name" label="合作外方机构信息-->机构名称" type="text" required class="input_css required "  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/organ_name" />"/> 
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>网址：</td>
		<td  colspan="4">
			<input name="proposal/http" label="合作外方机构信息-->网址" type="text" required class="input_css required "  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/http" />"/> 
		</td>
	</tr>
<tr><td class="t_bar2" colspan="5"><span class="color_red">*</span>外方负责人信息</td></tr>
<tr align="center">
<td>姓名</td>
<td>职称</td>
<td>电话</td>
<td>传真</td>
<td>邮箱</td>
</tr>
<tr align="center">
<td><input name="proposal/foreign_fzr_name" label="外方负责人信息-->姓名" type="text"  class="input_css required "   maxlength="15" value="<x:out select="$xmlData/data/proposal/foreign_fzr_name" />"/> </td>
<td><input name="proposal/foreign_fzr_position" label="外方负责人信息-->职称" type="text"  class="input_css required "   maxlength="20" value="<x:out select="$xmlData/data/proposal/foreign_fzr_position" />"/> </td>
<td><input name="proposal/foreign_fzr_tel" label="外方负责人信息-->电话" type="text"  class="input_css required "   maxlength="30" value="<x:out select="$xmlData/data/proposal/foreign_fzr_tel" />"/> </td>
<td><input name="proposal/foreign_fzr_fax" label="外方负责人信息-->传真" type="text"  class="input_css required "   maxlength="30" value="<x:out select="$xmlData/data/proposal/foreign_fzr_fax" />"/> </td>
<td><input name="proposal/foreign_fzr_email" label="外方负责人信息-->邮箱" type="text"  class="input_css required eamil"   maxlength="100" value="<x:out select="$xmlData/data/proposal/foreign_fzr_email" />"/> </td>
</tr>
<tr>
		<td align="right">通讯地址：</td>
		<td  colspan="4">
			<input name="proposal/fzr_mailing_address" label="外方负责人信息-->通讯地址" type="text" required class="input_css required "  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/fzr_mailing_address" />"/> 
		</td>
	</tr>
<tr><td class="t_bar2" colspan="5"><span class="color_red">*</span>外方联系人信息</td></tr>
<tr align="center">
<td>姓名</td>
<td>职称</td>
<td>电话</td>
<td>传真</td>
<td>邮箱</td>
</tr>
<tr align="center">
<td><input name="proposal/foreign_lxr_name" label="外方联系人信息-->姓名" type="text"  class="input_css required "   maxlength="15" value="<x:out select="$xmlData/data/proposal/foreign_lxr_name" />"/> </td>
<td><input name="proposal/foreign_lxr_position" label="外方联系人信息-->职称" type="text"  class="input_css required "   maxlength="20" value="<x:out select="$xmlData/data/proposal/foreign_lxr_position" />"/> </td>
<td><input name="proposal/foreign_lxr_tel" label="外方联系人信息-->电话" type="text"  class="input_css required "   maxlength="30" value="<x:out select="$xmlData/data/proposal/foreign_lxr_tel" />"/> </td>
<td><input name="proposal/foreign_lxr_fax" label="外方联系人信息-->传真" type="text"  class="input_css required "   maxlength="30" value="<x:out select="$xmlData/data/proposal/foreign_lxr_fax" />"/> </td>
<td><input name="proposal/foreign_lxr_email" label="外方联系人信息-->邮箱" type="text"  class="input_css required eamil"   maxlength="100" value="<x:out select="$xmlData/data/proposal/foreign_lxr_email" />"/> </td>
</tr>
<tr>
		<td align="right">通讯地址：</td>
		<td  colspan="4">
			<input name="proposal/lxr_mailing_address" label="外方联系人信息-->通讯地址" type="text" required class="input_css required "  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/lxr_mailing_address" />"/> 
		</td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org1">
	<tr>
		<td    class="t_bar2" colspan="4">国内合作单位信息</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_cname" label="国内合作单位信息-->单位名称" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_cname" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/org_address" label="国内合作单位信息-->单位地址" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_address" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature">{'id':'<x:out select="$xmlData/data/proposal/nature_code" />','name':'<x:out select="$xmlData/data/proposal/nature_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature}"  label="国内合作单位信息-->注册类型"
          		id="nature" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature_code" type="hidden" name="proposal/nature_code" class="" label="国内合作单位信息-->注册类型" value="<x:out select="$xmlData/data/proposal/nature_code" />"/>
            <input id="nature_name" type="hidden" name="proposal/nature_name"  value="<x:out select="$xmlData/data/proposal/nature_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no" label="国内合作单位信息-->组织机构代码" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name" label="国内合作单位信息-->联系人姓名" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel" label="国内合作单位信息-->联系人电话" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel" />"/></td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo2"
	cellspacing="1">
	
<tr>		<td colspan="8" class="t_bar2">人员信息</td></tr>
	
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text"  class="input_css required mobile" onfocus="InitInput.setNumber(this,11,0,0)"  value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>


<script type="text/javascript">

$(function(){
	cydw('org1');
});

function cydw(id){
	var count =0 ;
	$("#"+id).find("input[type='text']").each(function(){
		if($.trim($(this).val()) != ''){
			count +=1;
		}
	});
	if(count != 0){
		$("#"+id).find("input[type='text']").each(function(){
			$(this).addClass("required");
		});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','');
		});
	}else{
		$("#"+id).find("input[type='text']").each(function(){
			$(this).removeClass("required");
	});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','none');
		});
	}
}

function initTreeValue2CallBack(){
	cydw('org1');
}
function setEmptyValueForTree(id){
	$("#"+id).val("");
	$("#"+id+"_hideId").val("");
	$("#"+id+"_hideName").val("");
	$("#"+id+"_code").val("");
	$("#"+id+"_value").val("");
	$("#"+id+"_name").val("");
	$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
	$("#sqdm").val("");
	cydw('org1');
}

</script>